package com.training.admin.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.training.admin.entity.dynamic.report.DynamicReport;
import com.training.admin.entity.upload.UploadResult;

/**
 * 
 * @author Rockett
 *
 */
public interface DynamicReportService extends DataService<DynamicReport>{
	
	/**
	 * list by name
	 * @param name
	 * @return
	 */
	public List<DynamicReport> listByName(String name);
	
	/**
	 * 上傳报表
	 * @param file
	 * @return
	 */
	public List<UploadResult> upload (MultipartFile file,DynamicReport dynamicReport);

}
